package cn.dgut.training.vo.user;

import cn.dgut.training.dto.BaseDTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class CollectVO implements Serializable {

    @ApiModelProperty(value = "收藏表的ID")
    private Long id;

    @ApiModelProperty(value = "用户表的用户ID")
    private Long userId;

    @ApiModelProperty(value = "如果type=0，则是商品ID；如果type=1，则是专题ID")
    private Long valueId;

    @ApiModelProperty(value = "收藏类型，如果type=0，则是商品ID；如果type=1，则是专题ID")
    private Integer collectType;

    @ApiModelProperty(value = "商品的名称")
    private String name;

    @ApiModelProperty(value = "商品简介")
    private String brief;

    @ApiModelProperty(value = "商品图片")
    private String picUrl;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal retailPrice;


}
